﻿#region
/*************************************************/
/***** Create by ZhengZhaoxiang 6/29/2016 12:20:16 PM****/
/*************************************************/
using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class t_smd_AccountOwner : DataObject
    {


        /// <summary>
        /// AccountId
        /// </summary>
        [ID]
        [Column]
        [IDENTITY]
        public int? AccountId { get { return fACCOUNTID; } set { fACCOUNTID = value; EntityState.FieldChange("AccountId"); } }
        private int? fACCOUNTID;
        public static FieldInfo _AccountId = new FieldInfo("t_smd_AccountOwner", "AccountId");

        /// <summary>
        /// AccountOwner
        /// </summary>
        [Column]
        [IDENTITY]
        public string AccountOwner { get { return fACCOUNTOWNER; } set { fACCOUNTOWNER = value; EntityState.FieldChange("AccountOwner"); } }
        private string fACCOUNTOWNER;
        public static FieldInfo _AccountOwner = new FieldInfo("t_smd_AccountOwner", "AccountOwner");

        /// <summary>
        /// AccountEmail
        /// </summary>
        [Column]
        [IDENTITY]
        public string AccountEmail { get { return fACCOUNTEMAIL; } set { fACCOUNTEMAIL = value; EntityState.FieldChange("AccountEmail"); } }
        private string fACCOUNTEMAIL;
        public static FieldInfo _AccountEmail = new FieldInfo("t_smd_AccountOwner", "AccountEmail");

        /// <summary>
        /// Region
        /// </summary>
        [Column]
        [IDENTITY]
        public string Region { get { return fREGION; } set { fREGION = value; EntityState.FieldChange("Region"); } }
        private string fREGION;
        public static FieldInfo _Region = new FieldInfo("t_smd_AccountOwner", "Region");

        /// <summary>
        /// Province
        /// </summary>
        [Column]
        [IDENTITY]
        public string Province { get { return fPROVINCE; } set { fPROVINCE = value; EntityState.FieldChange("Province"); } }
        private string fPROVINCE;
        public static FieldInfo _Province = new FieldInfo("t_smd_AccountOwner", "Province");

        /// <summary>
        /// City
        /// </summary>
        [Column]
        [IDENTITY]
        public string City { get { return fCITY; } set { fCITY = value; EntityState.FieldChange("City"); } }
        private string fCITY;
        public static FieldInfo _City = new FieldInfo("t_smd_AccountOwner", "City");

        /// <summary>
        /// WindowsId
        /// </summary>
        [Column]
        [IDENTITY]
        public string WindowsId { get { return fWINDOWSID; } set { fWINDOWSID = value; EntityState.FieldChange("WindowsId"); } }
        private string fWINDOWSID;
        public static FieldInfo _WindowsId = new FieldInfo("t_smd_AccountOwner", "WindowsId");
    }
}
#endregion
